package com.iotechn.unimall.data.domain;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

/**
 * 
 * 
 * @author hct
 * @email 77802226@qq.com
 * @date 2021-04-01 10:58:13
 */

@Data
@TableName("unimall_purchase_order_goods")
public class PurchaseOrderGoodsDO extends SuperDO {

	/**
	 * 采购单商品id
	 */
	/**
	 * 采购单id
	 */
    @TableField("p_order_id")
    private Long pOrderId;
	/**
	 * 商品id
	 */
	@TableField("spu_id")
	private Long spuId;
    @TableField("sku_id")
    private Long skuId;
	/**
	 * 商品名称
	 */
    @TableField("spu_name")
    private String spuName;

	/**
	 * 商品名称
	 */
	@TableField("sku_name")
	private String skuName;
	/**
	 * 商品编号
	 */
    @TableField("bar_code")
    private String barCode;
	/**
	 * 商品规格
	 */
    @TableField("goods_spec")
    private String goodsSpec;
	/**
	 * 商品单位，非对应id，单位名称
	 */
    @TableField("goods_unit")
    private String goodsUnit;
	/**
	 * 商品计划购买数量
	 */
    @TableField("p_goods_buy_num")
    private Float pGoodsBuyNum;

	/**
	 * 商品实际购买数量
	 */
	@TableField("p_goods_actual_num")
	private Float pGoodsActualNum;


	/**
	 * 商品购买的单价
	 */
    @TableField("p_goods_price")
    private Long pGoodsPrice;
	/**
	 * 商品税金
	 */
    @TableField("p_goods_tax")
    private Long pGoodsTax;
	/**
	 * 商品总金额
	 */
    @TableField("p_goods_amount")
    private Long pGoodsAmount;
	/**
	 * 商品备注
	 */
    @TableField("p_goods_desc")
    private String pGoodsDesc;
	/**
	 * 
	 */
    @TableField("goods_img")
    private String goodsImg;
	@TableField("goods_name")
	private String goodsName;

//	/**
//	 * 商品总金额
//	 */
//	@TableField("p_order_amount")
//	private Long pOrderAmount;


	@TableField("p_order_goods_count")
 	private Float pOrderGoodsCount;
}
